package com.aplink.generic.pojo.controlspec.textview;

import com.aplink.generic.pojo.controlspec.ControlSpec;
import com.aplink.generic.util.ResourcesHelper;

public class TextViewSpec extends ControlSpec {
    /**
     * 
     */
    private static final long serialVersionUID = -4709306681066009924L;
    private boolean isNoduplicate;
    private String mContentData;

    public TextViewSpec(final String contentDataName) {
        this.mContentData = contentDataName;
    }

    public String getContentData() {
        return this.mContentData;
    }

    public int getContentDataID() {
        return ResourcesHelper.getRawIdByName(this.mContentData);
    }

    public boolean isNoduplicate() {
        return this.isNoduplicate;
    }

    public void setContentData(final String contentData) {
        this.mContentData = contentData;
    }

    public void setNoduplicate(final boolean isNoduplicate) {
        this.isNoduplicate = isNoduplicate;
    }

}
